package com.service;

import com.entity.User;

/**
 * @ClassName UserService
 * @Description 用户业务层接口
 * @Author XiangQian
 * @Date 2022/7/7 9:13
 */
public interface UserService {

    /**
     * @Description 用户注册数据
     * @param user
     */
    public void insertUser(User user);

    /**
     * @Description 登录
     * @param user
     * @return User
     */
    public String selectUserByUserInfo(User user);

    /**
     * @Description 禁用用户
     * @param user
     */
    public void stopUser(User user);

    /**
     * @Description 软删除
     * @param user
     */
    public void deleteUser(User user);
}
